/**
 * Project Name:hyh-web
 * File Name:Times.java
 * Package Name:com.hyh.model.entity
 * Date:2018年9月3日下午6:19:37
 *
*/

package com.hyh.model.entity;

import java.util.Date;

import com.hyh.util.DateUtil;

import lombok.Getter;
import lombok.Setter;

/**
 * ClassName:Times
 * Reason:	 TODO ADD REASON.
 * Date:     2018年9月3日 下午6:19:37
 * @author   huangyihao
 * @version  
 * @see 	 
 */
@Getter
@Setter
public class DateTimes {
	
	private String dateTimes;
	
	public DateTimes(Date date, String format) {
		this.dateTimes = DateUtil.formatDate(date, format);
	}
	
}
